package com.youlai.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description ="故障类型分页对象")
@Data
public class MoldPageVO {

    @Schema(description="故障类型ID")
    private Long id;

    @Schema(description="故障类型名称")
    private String name;

    @Schema(description="故障类型编码")
    private String code;

    @Schema(description = "评估频次")
    private Integer frequency;

    @Schema(description = "评估频次(中文)")
    private String frequencyLabel;

    @Schema(description="故障类型状态")
    private Integer status;

    @Schema(description="排序")
    private Integer sort;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
